Vim ... perfect IDE
It can seems really crazy, but I use text editor vim as my intagrated development environment. Bare vim couldn't be too effective, but you can extend vim with many cool plugins. Combination vim, ctags, FileExplorer plugin and taglist plugin is really incredible ;-).
5 Comments:
Thanks for the tip. Can you give more details of how to use it for a newbie like me?
By
Anonymous, at 11:28 PM
ctags is unix program. It generate index file "tags" in current directory. Example of generating tags file:
#ctags example.c
I suppose, that you have several function and definitions in you source file (example.c). No you can run
#vim example.c
Move your cursor on some declaration/function call and press "g" "Ctrl-]" ... it will move your cursor to the definition. Pressing "Ctrl-T" will turn you back. Note: you have to do all this in command mode (not insert mode).
You can call ctags inside vim and use recursive search (search all .c and .h files in all subdirectories).
Vim command: :!ctags -R .
Warrning: it will create "tags" file in current directory (directory, where vim was started). I hope, that it is clear now :-).
By
jiri, at 10:08 PM
Easy help for file explorerer is inside vim Type :help Explore and read documentation for it. gvim ... graphical extension of vim has some nice item in main menu for it as well ctags command has such item.
By
jiri, at 10:15 PM
Documentation of taglist browser is here:
http://www.geocities.com/yegappan/taglist/manual.html
I doubt, that I can say more :-)
By
jiri, at 10:22 PM
You can try press Ctrl-N (in insert mode) when you are lazy to write some long variable :-) It is somethink like tab key in shell.
By
jiri, at 10:36 PM
Post a Comment
<< Home